<div class="info">
<h1 class="font_h1">Tạo mới nhóm</h1>
<?php if(isset($error))  : ?>
<h2 class="error_red"><?php echo $error;?></h2>
<?php endif;?>
<form action="<?php echo base_url().'admin/setting/add_group/'.@$uid?>" method="POST" enctype="multipart/form-data" id="frm_add">
<table class="table1">
    
     <tr>
                <td width="20%">Tên nhóm: </td>
                <td width="80%">
                <?php if(@$onlines->name !='') {?>
                <input type="text" name="txt_user" style="width:200px" value="<?php echo @$onlines->name?>"  />
                <?php } else {?>
                <input type="text" name="txt_user" style="width:200px" value="<?php echo set_value('txt_user')?>"  />
                <?php } ?>   
                </td>
    </tr>   
    <tr>
                <td width="20%"></td>
                <td width="80%">
                	<span style="background: red;width:200px"><?php echo form_error('txt_user');?></span>
                </td>
    </tr> 
     <tr>
                <td width="20%">Sắp xếp: </td>
                <td width="80%">
                <?php if(@$onlines->order_sub  !='') {?>
                <input type="text" name="txt_order" style="width:200px" value="<?php echo @$onlines->order_sub ?>"  />
                <?php } else {?>
                <input type="text" name="txt_order" style="width:200px" value=""  />
                <?php } ?>                  
                </td>
    </tr>  
   
    <tr>
                <td width="20%">Kích hoạt </td>
                <td width="80%">
                <input type="checkbox" name="txt_active"  value="1" <?php if(@$onlines->active == '1') echo "checked"?>  />
                   
                </td>
    </tr> 
     
    <tr>
                <td width="20%">Mô tả:</td>
                <td width="80%">
                	<textarea name="txt_description" style="width:400px; height:150px"><?php echo @$onlines->description;?></textarea>
                   
                </td>
    </tr> 
    <tr>
                
    </tr>
    
    <tr>
                <td width="20%"></td>
                <td width="80%">
                <a  class="button" onclick="$('#frm_add').submit()" href="javascript:void(0)">Lưu lại</a>
                 <a  class="button" href="<?php echo base_url().'admin/setting/group'?>">Quay lại</a>
                 
                </td>
    </tr>
</table>
</form>
</div>